﻿using QFramework;
using Test;
using UnityEngine;

public class ChangeFsmCommand:AbstractCommand
{
    private readonly States state;

    public ChangeFsmCommand(States state)
    {
        this.state = state;
    }
    protected override void OnExecute()
    {
        this.SendEvent(new SetStates(state));
    }
}